package com.tuanzi.loan.business.repository.user.custom;

import com.tuanzi.loan.business.entity.user.LoanUserAgreement;
import com.tuanzi.loan.vo.request.user.LoanUserAgreementSearchRequest;
import com.tuanzi.loan.vo.response.user.LoanUserAgreementResponse;
import org.springframework.data.domain.Page;
import org.springframework.data.domain.Pageable;

/**
 * @Author: chenweijun
 * @Date: 2019/9/25 10:47
 */
public interface LoanUserAgreementCustomRepository {

    Page<LoanUserAgreementResponse> list(LoanUserAgreementSearchRequest searchRequest, Pageable pageable);

    LoanUserAgreement findTopOne();
}
